home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1999 #2 / Amiga Plus CD - 1999 - No. 2.iso / System-Boost / Workbench / Archive / ViewDiz / ViewDiz-extras / Install < prev    next >
Encoding:
Text File  |  1998-11-09  |  4.3 KB  |  175 lines

  1. ;$VER: ViewDIZ-Extras_install 1.0 (3.9.98) Mikael Lund
  2. (message
  3.  "\nW E L C O M E   T O   V I E W D I Z   E X T R A S\n\n"
  4.  "This package contain much of the software used by ViewDiz external modules "
  5.  "and wizards. Also you will find buttons for DirectoryOpus, a nice ANSI font "
  6.  "and additional documentation. If you want to develop modules for ViewDiz you "
  7.  "will might find the included template-file interesting.\n\n"
  8.  "Enjoy it !"
  9. )
  10.  
  11. (welcome)
  12.  
  13. (set #bin
  14.  (askoptions
  15.   (prompt "\nWhat should be installed ?\n")
  16.   (help
  17.    "* Commands: for the different modules - Highly recommended!\n"
  18.    "* JetTerm ANSI-font: To be used with the Font/A argument - Nice!\n"
  19.    "* DOpus5+ buttons: A must if you have directoryopus.\n"
  20.    "* Docs: Only for the more advanced users/developers.\n"
  21.    "* Developer: For developers only.\n"
  22.    "* Rexxdossupport: Used by some wizards, incl. Guidelist"
  23.   )
  24.   (default %100111)
  25.   (choices
  26.    "Commands"
  27.    "JetTerm ANSI-font"
  28.    "DirectoryOpus 5+ buttons & small-image"
  29.    "Documentation for commands"
  30.    "Developer material"
  31.    "Rexxdossupport.library"
  32.   )
  33.  )
  34. )
  35.  
  36. ;*** commands
  37. (if (IN #bin 0)
  38.  (
  39.   (set #sel
  40.    (askoptions
  41.     (prompt "\nWhich external commands should be installed ?\n(Press the help-button for details)\n")
  42.     (help
  43.      "To use ViewDiz you will need some additional programs depending on which "
  44.      "filetypes you wish to process.\n\n"
  45.  
  46.      "* Copy2Clip is for the Clipboard-wizard.\n"
  47.      "* DMSdescript for DMS-processing.\n"
  48.      "* MagicDIZ for pictures.\n"
  49.      "* xDIZ for XPK-processing.\n"
  50.      "* Textract is for text-files.\n"
  51.      "* ModuleDescript for unpacked MOD/MED modules.\n"
  52.      "* UnARJ_FID is for ARJ files.\n"
  53.      "* PlayTune for playing music\n"
  54.      "* ExeDescript for processing exe-files.\n\n"
  55.  
  56.      "Not all required programs are included in this package - below is a list of "
  57.      "other programs you will need to process other filetypes:\n\n"
  58.  
  59.      "* LHA,LZX,ZIP,UNZIP are required for Lha, LZx and ZIP archives.\n"
  60.      "* DMS is required if you want to unpack a DMS-files to a disk.\n"
  61.      "* XFDdecrunch is required for unpacking packed datafiles.\n\n"
  62.  
  63.      "The files will be copied to C: - You may move them to another destination "
  64.      "as long as this is in the command path."
  65.     )
  66.     (choices
  67.      "MagicDIZ v2.06 (9k)"
  68.      "DMSdescript v1.1 (16k)"
  69.      "Textract v1.0 (15k)"
  70.      "Copy2Clip v1.0 (1k)"
  71.      "xDiz v1.5 (4k)"
  72.      "ModuleDescript v1.0 (2k)"
  73.      "UnArj_FID v1.02 (16k)"
  74.      "PlayTune v1.1 (5k)"
  75.      "ExeDescript v1.0 (15k)"
  76.     )
  77.     (default %111111111)
  78.    )
  79.   )
  80.   (working "Installing commands")
  81.   (if (IN #sel 0)    (copylib    (dest "c:")    (source "c/MagicDIZ") (nogauge)))
  82.   (if (IN #sel 1)    (copyfiles    (dest "c:")    (source "c/DMSdescript") (nogauge)))
  83.   (if (IN #sel 2)    (copylib    (dest "c:")    (source "c/Textract") (nogauge)))
  84.   (if (IN #sel 3)    (copylib    (dest "c:")    (source "c/Copy2Clip") (nogauge)))
  85.   (if (IN #sel 4)    (copyfiles    (dest "c:")    (source "c/xDiz") (nogauge)))
  86.   (if (IN #sel 5)    (copyfiles    (dest "c:")    (source "c/ModuleDescript") (nogauge)))
  87.   (if (IN #sel 6)    (copyfiles    (dest "c:")    (source "c/UnArj_FID") (nogauge)))
  88.   (if (IN #sel 7)
  89.    (
  90.     (copyfiles
  91.      (nogauge)
  92.      (dest "s:")
  93.      (source "s/")
  94.      (pattern "#?")
  95.     )
  96.     (run "protect s:PlayTune rweds")
  97.    )
  98.   )
  99.   (if (IN #sel 8)    (copyfiles    (dest "c:")    (source "c/ExeDescript") (nogauge)))
  100.  )
  101. )
  102.  
  103. (if (IN #bin 1)
  104.  (
  105.   (working "Installing font")
  106.   (copyfiles
  107.    (nogauge)
  108.    (source "fonts/")
  109.    (dest "fonts:")
  110.    (pattern "#?")
  111.   )
  112.  )
  113. )
  114.  
  115. (if (IN #bin 2)
  116.  (if (exists "Dopus5:" (noreq))
  117.   (
  118.    (working "Installing DirectoryOpus buttons & image")
  119.    (copyfiles
  120.     (nogauge)
  121.     (source "Dopus5/")
  122.     (dest "Dopus5:")
  123.     (pattern "#?")
  124.    )
  125.   )
  126.  )
  127. )
  128.  
  129. (if (IN #bin 3)
  130.  (
  131.   (working "Installing documentation")
  132.   (
  133.    (if (exists "HELP:" (noreq))
  134.     (set #docdest "HELP:")
  135.     (set #docdest "S:")
  136.    )
  137.    (copyfiles
  138.     (nogauge)
  139.     (dest #docdest)
  140.     (source "docs/")
  141.     (pattern "#?")
  142.    )
  143.   )
  144.  )
  145. )
  146.  
  147. (if (IN #bin 4)
  148.  (
  149.   (working "Installing developer material")
  150.   (copyfiles
  151.    (nogauge)
  152.    (source "developer/.template")
  153.    (dest "envarc:viewdiz/modules")
  154.   )
  155.  )
  156. )
  157.  
  158. (if (IN #bin 5)
  159.  (
  160.   (working "Installing libraries")
  161.   (copylib
  162.    (nogauge)
  163.    (source "libs/rexxdossupport.library")
  164.    (dest "libs:")
  165.   )
  166.  )
  167. )
  168.  
  169. (exit
  170.  "\nInstallation of "
  171.  @app-name
  172.  " complete !\n\n"
  173.  (quiet)
  174. )
  175.